using System.Collections.Generic;

namespace QueryBuilder.Core.Query
{
    /// <summary>
    /// 
    /// </summary>
    public interface ITable : IDbObject
    {
        /// <summary>
        /// Gets the primary keys.
        /// </summary>
        /// <value>The primary keys.</value>
        IList<IColumn> PrimaryKeys { get; }

        /// <summary>
        /// Gets the columns.
        /// </summary>
        /// <value>The columns.</value>
        IList<IColumn> Columns { get; }

        /// <summary>
        /// Gets the column.
        /// </summary>
        /// <param name="columnName">Name of the column.</param>
        /// <returns></returns>
        IColumn GetColumn(string columnName);
    }
}